package com.xiaoyu.lanling.event.privilege

import `in`.srain.cube.request.JsonData
import com.xiaoyu.base.event.BaseJsonEvent

class PrivilegeSettingSyncEvent (tag: Any, jsonData: JsonData) : BaseJsonEvent(tag, jsonData) {

    val hideDistance: Boolean = jsonData.optString("hideDistance") == "yes"

    val hideVisit: Boolean = jsonData.optString("hideVisit") == "yes"
}